package com.huidian.resource.server.service;

import com.huidian.resource.server.entity.Student;
import java.util.Collection;
import java.util.List;

/**
 * 【仪表】
 * @author super on 2021-04-03 11:18:17
 * Copyright (c) huidiancloud
 */
public interface IStudentService {

    /**
    * 列表查询
    * @param student
    * @return
    */
    List<Student> selectList(Student student);

    /**
    * 按主键查询记录行
    * @param stdId
    * @return
    */
    Student selectById(Long stdId);

    /**
    * 查询满足条件的总记录数
    * @param student
    * @return
    */
    long selectTotal(Student student);


    /**
    * 批量新增
    * @param list
    */
    void addBatch(List<Student> list);
    /**
    * 新增
    * @param student
    */
    void addSelective(Student student);

    /**
    * 修改
    * @param student
    */
    void updateObj(Student student);

    void batchUpdateObj(List<Student> studentList);

    List<Student> selectBatchIds(Collection<Long> stdIdList);

    void deleteById(Long stdId);

    void deleteByIdList(List<Long> stdIdList);
}
